import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import vant from 'vant';
import axios from 'axios';
import './assets/main.css'
import 'vant/lib/index.css';

const app = createApp(App)
app.config.globalProperties.$axios = axios;  // 挂载axios
app.config.globalProperties.$httpUrl = 'http://localhost:8080';  // API基础地址
app.use(router)
app.use(vant)
app.use(axios)
app.mount('#app')
